import { NUM_ADD } from '../type'

function num(state = 10000, action) {
    switch(action.type) {
        case NUM_ADD:
            state += 10
            return state
        default:
            return state
    }
}

export {
    num
}